-------------------------------------------------------------------
Mgosoft PDF To IMAGE Command Line
Homepage: http://www.mgosoft.com
E-mail  : support@mgosoft.com
-------------------------------------------------------------------
Usage: pdftoimage <-i PDF File> [options]

-i <string>	:Specify input pdf file or folder.

-o <string>	:Specify output folder.

-w <string>	:Set Open pdf file password. 

-t <string>	:Set image type, default is 'jpg'.
		-t tif	tif image file( -b 24, 8, 7, 4, 3, 1 ).
		-t bmp	bmp image file( -b 24, 8, 7, 4, 3, 1 ).
		-t png	png image file( -b 24, 8, 7, 4, 3, 1 ).
		-t pcx	pcx image file( -b 24, 8, 7, 4, 3, 1 ).
		-t gif	gif image file( -b 8, 7, 4, 3, 1 ).
		-t jpg	jpg image file( -b 24, 7 ).
		-t wmf	wmf image file.
		-t emf	emf image file.
		-t tga	tga image file( -b 24, 8, 7 ).
		-t jp2	jpeg2000 image file( -b 24, 7 ).
		-t jpc	jpeg2000 image file( -b 24, 7 ).
		-t ras	ras image file( -b 24, 7 ).

-b <int>	:Set color depth.
		-b 24	True color( 24 bits )
		-b 8	256 color( 8 bits )
		-b 7	256 color grayscale( 8 bits )
		-b 4	16 color( 4 bits )
		-b 3	16 color grayscale( 4 bits )
		-b 1	black/white( 1 bits )
		
-q <int>	:Set quality for jpeg image,from 1 to 100,default is 75.

-c <string>	:Set compression method for tiff files, default is 'jpeg'
		-c none		Create TIFF file without compression( -b 24, 8, 7, 4, 3, 1 )
		-c lzw		Compress TIFF using LZW arithmetic( -b 24, 8, 7, 4, 3, 1 )
		-c jpeg		Compress TIFF using JPEG arithmetic( -b 24, 7 )
		-c packbits	Compress TIFF using PACKBITS arithmetic( -b 24, 8, 7, 4, 3 )
		-c g4		Compress TIFF using CCITT G4 arithmetic( -b 1 )
		-c g3		Compress TIFF using CCITT G3 arithmetic( -b 1 )
		-c rle		Compress TIFF using RLE arithmetic( -b 1 )

-x <int>	:Set Horizontal resolution in generated image files,form 72 to 600, default is 72.

-y <int>	:Set Vertical resolution in generated image files,form 72 to 600, default is 72.

-g <int>	:Set rotate angle, 0,90,180,270

-s <string>	:Set image size.
		-s 1024x768	Set generated image width is 1024, height is 768. 

-n <string>	:Set page range to convert.
		-n 2,5-15,20-	Extract page 2,page 5 through 15, page 20 through end.

-m		:Set output to multi-page TIFF file, default is output to single page TIFF files.

-r <string>	:Register.

-?		:Help.

-------------------------------------------------------
Example:

pdftoimage -i C:\input.pdf 
pdftoimage -i C:\inputpdf\ -o c:\output\
pdftoimage -i C:\input.pdf -o C:\output\ -t jpg -q 80
pdftoimage -i C:\input.pdf -o C:\output\ -t bmp -b 4 -x 300 -y 300
pdftoimage -i C:\input.pdf -o C:\output\ -t tif -m -g 90
pdftoimage -i C:\input.pdf -o C:\output\ -t tif -c lzw 
pdftoimage -i C:\input.pdf -o C:\output\ -t png -n 2,5-15,20-  
pdftoimage -i "C:\in put.pdf" -o "C:\out put\" -t pcx -s 1024x768

-------------------------------------------------------
Please notice, if your input parameter contain space(s), you must use quotation mark to include them, 
for example: "C:\in put.pdf" "C:\out put\"